﻿using DirectSell.Common.Session;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace DirectSell.WebLayer.Controllers
{
    public class LogoutController : Controller
    {
        /// <summary>
        /// 退出登陆
        /// </summary>
        /// <returns></returns>
       public void RoleLogout()
        {
            var sessionid = SessionInfo.GetSessionID();
            SessionHelper.RemoveSession(sessionid);
        }
    }
}